home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global gSplit
- hPositionSet()
- set the locH of sprite 1 to ((the locH of sprite 46 - 92) * 64 / 12) - 875
- if the castNum of sprite 39 = the number of member "pixel" then
- case 1 of
- ((the locH of sprite 1 > -930) and (the locH of sprite 1 < -534)):
- hHotRect(4, "hotRect1", -1115, 189, 199, 156)
- hRolCheck(4, 2, 44, 45, -1215, 249, "sailboat.pict", "unit 1.label")
- ((the locH of sprite 1 > -539) and (the locH of sprite 1 < 202)):
- hHotRect(4, "hotRect1", -387, 115, 210, 230)
- hRolCheck(4, 2, 44, 45, -501, 288, "riverboat.pict", "unit 3.label")
- ((the locH of sprite 1 > 197) and (the locH of sprite 1 < 874)):
- hHotRect(4, "hotRect1", 266, 87, 121, 202)
- hRolCheck(4, 2, 44, 45, 206, 243, "cannon.pict", "unit 5.label")
- ((the locH of sprite 1 > 800) and (the locH of sprite 1 < 1546)):
- hHotRect(4, "hotRect1", 938, 106, 109, 165)
- hRolCheck(4, 2, 44, 45, 880, 220, "factory.pict", "unit 7.label")
- end case
- case 1 of
- ((the locH of sprite 1 > -859) and (the locH of sprite 1 < -155)):
- hHotRect(5, "hotRect2", -790, 99, 98, 198)
- hRolCheck(5, 3, 45, 44, -838, 247, "bell.pict", "unit 2.label")
- ((the locH of sprite 1 > -139) and (the locH of sprite 1 < 533)):
- hHotRect(5, "hotRect2", -68, 86, 108, 176)
- hRolCheck(5, 3, 45, 44, -125, 219, "stage.pict", "unit 4.label")
- ((the locH of sprite 1 > 538) and (the locH of sprite 1 < 1221)):
- hHotRect(5, "hotRect2", 628, 114, 137, 219)
- hRolCheck(5, 3, 45, 44, 558, 277, "train.pict", "unit 6.label")
- ((the locH of sprite 1 > 80) and (the locH of sprite 1 < 1620)):
- if gSplit = 1 then
- hHotRect(5, "hotRect2", 1334, 112, 109, 203)
- hRolCheck(5, 3, 45, 44, 1279, 259, "computer.pict3", "epilogue.label")
- else
- if gSplit = 3 then
- hHotRect(5, "hotRect2", 9999, 123, 120, 253)
- end if
- end if
- end case
- hCheckButtons()
- end if
- hScrollCheck()
- if the castNum of sprite 39 <> the number of member "pixel" then
- set the locH of sprite 4 to 9995
- set the locH of sprite 5 to 9995
- end if
- if the castNum of sprite 39 = the number of member "menu" then
- if the castNum of sprite 44 = the number of member "unit 1.label" then
- hMenuRoll(40, "unit1.ch1rev", "unit1.ch1", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit1.ch2rev", "unit1.ch2", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit1.ch3rev", "unit1.ch3", rect(175, 185, 464, 201))
- hMenuRoll(43, "unit1.ch4rev", "unit1.ch4", rect(175, 202, 464, 218))
- end if
- if the castNum of sprite 45 = the number of member "unit 2.label" then
- hMenuRoll(40, "unit2.ch5rev", "unit2.ch5", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit2.ch6rev", "unit2.ch6", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit2.ch7rev", "unit2.ch7", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- if the castNum of sprite 44 = the number of member "unit 3.label" then
- hMenuRoll(40, "unit3.ch8rev", "unit3.ch8", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit3.ch9rev", "unit3.ch9", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit3.ch10rev", "unit3.ch10", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- if the castNum of sprite 45 = the number of member "unit 4.label" then
- hMenuRoll(40, "unit4.ch11rev", "unit4.ch11", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit4.ch12rev", "unit4.ch12", rect(175, 167, 464, 183))
- hMenuRoll(42, "pixel", "pixel", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- if the castNum of sprite 44 = the number of member "unit 5.label" then
- hMenuRoll(40, "unit5.ch13rev", "unit5.ch13", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit5.ch14rev", "unit5.ch14", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit5.ch15rev", "unit5.ch15", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- if the castNum of sprite 45 = the number of member "unit 6.label" then
- hMenuRoll(40, "unit6.ch16rev", "unit6.ch16", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit6.ch17rev", "unit6.ch17", rect(175, 167, 464, 183))
- hMenuRoll(42, "pixel", "pixel", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- if the castNum of sprite 44 = the number of member "unit 7.label" then
- if gSplit = 1 then
- hMenuRoll(40, "unit7.ch18rev", "unit7.ch18", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit7.ch19rev", "unit7.ch19", rect(175, 167, 464, 183))
- hMenuRoll(42, "pixel", "pixel", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- else
- if gSplit = 3 then
- hMenuRoll(40, "unit7.ch18rev", "unit7.ch18", rect(175, 150, 464, 166))
- hMenuRoll(41, "unit7.ch19rev", "unit7.ch19", rect(175, 167, 464, 183))
- hMenuRoll(42, "unit7.ch20revb", "unit7.ch20b", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- end if
- end if
- if the castNum of sprite 45 = the number of member "epilogue.label" then
- hMenuRoll(40, "epilogue.rev", "epilogue", rect(175, 150, 464, 166))
- hMenuRoll(41, "pixel", "pixel", rect(175, 167, 464, 183))
- hMenuRoll(42, "pixel", "pixel", rect(175, 185, 464, 201))
- hMenuRoll(43, "pixel", "pixel", rect(175, 202, 464, 218))
- end if
- end if
- go(the frame)
- end
-